using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using DotNet_Common;
using Castle.MonoRail.Framework;

namespace PrNews.Controllers
{
    public class SiteRootController : SmartDispatcherController
    {
        public void index()
        {
            DbExecuter db = new DbExecuter();
            string sql = "select * from Admin";
            DataTable x = db.Exec(sql);
            PropertyBag["data"] = x.Rows;
        }
    }
}
